import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
	{
  		path: '/',
  		name: 'home',
  		component: () => import( '@/views/HomeView.vue'),
  		meta:{
  			max:true,
  			min:true,
  			maxisize:true,
  			out:true,
  			title:'首页'
  		}
  	},{
  		path: '/meet',
  		name: 'meet',
  		component: () => import( '@/views/meet/index.vue'),
  		meta:{
  			max:true,
  			min:true,
  			maxisize:true,
  			out:true,
  			title:'会议'
  		}
  	},{
  		path: '/about',
  		name: 'about',
  		component: () => import( '@/views/about/index.vue'),
  		meta:{
  			max:true,
  			min:true,
  			maxisize:true,
  			out:true,
  			title:'关于'
  		}
  	}
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
